package com.gzx.data.feign;

import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RequestMapping;
import org.springframework.web.bind.annotation.RequestParam;

import java.util.List;

/**
 * @author xbl
 */
@FeignClient(name = "gzx-bi-data-xxl-app", contextId = "DataFeign")
public interface GzxDataFeign {

	/**
	 * 获取客户信息
	 */
	@RequestMapping("/feign/data/getCustom")
	String getCustom(@RequestBody List<String> list);

	@RequestMapping("/feign/data/getCustomByDate")
	String getCustomByDate(@RequestParam("start") String start, @RequestParam("end") String end,
			@RequestBody List<String> list);

}
